package net;

import java.io.File;

public class CurrentDirectory {

  public static void print(Object o) {
    System.out.println(o);
  }

  public static void main(String[] args) throws Exception {
    print(Thread.currentThread().getContextClassLoader().getResource(""));
    print(CurrentDirectory.class.getResource(".").getPath());
    print(CurrentDirectory.class.getClassLoader().getResource(""));
    print(ClassLoader.getSystemResource(""));
    print(CurrentDirectory.class.getResource(""));
    print(CurrentDirectory.class.getResource("/"));
    print(new File("").getAbsolutePath());
    print(System.getProperty("user.dir"));
    String dir = System.getProperty("user.dir") + File.separator + "csv" + File.separator;
    print(dir);
    System.out.println(50001 / 5000);
  }

}
